import server from '../../server'

// 请求头部轮播图数据
const getBanners = async () => {
    let {data} = await server.get('/small4/banner/list')
    // console.log(data);
    return data
    
}

//请求商品列表数据
const getList = async () => {
    let {data} =  await server.get('/small4/shop/goods/list')
    // console.log(data);
    return data

    
}


export {
    getBanners,
    getList
}